package com.messe.base.models;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;
/**
 * 问卷库
 * @author jinxiaozhang
 *
 */
public class Questionnaires implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -7868742099324885678L;
	// 
	private String id;
	// 展会品牌
	private Brand brand;
	// 创建人
	private Person person;

	// 类型 
	private Integer type;
	
	private Organization organizer;

	private Timestamp createdStamp;
	private Timestamp lastUpdatedStamp;
	private Set<QuestionnairesAppendix> questionnairesAppendixs=new HashSet<QuestionnairesAppendix>();
	
	private Set<PartyClassification> partyClassifications=new HashSet<PartyClassification>();
	public Brand getBrand() {
		return brand;
	}
	public void setBrand(Brand brand) {
		this.brand = brand;
	}
	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}
	/**
	 * @return the person
	 */
	public Person getPerson() {
		return person;
	}
	/**
	 * @param person the person to set
	 */
	public void setPerson(Person person) {
		this.person = person;
	}
	/**
	 * @return the type
	 */
	public Integer getType() {
		return type;
	}
	/**
	 * @param type the type to set
	 */
	public void setType(Integer type) {
		this.type = type;
	}
	/**
	 * @return the createdStamp
	 */
	public Timestamp getCreatedStamp() {
		return createdStamp;
	}
	/**
	 * @param createdStamp the createdStamp to set
	 */
	public void setCreatedStamp(Timestamp createdStamp) {
		this.createdStamp = createdStamp;
	}
	/**
	 * @return the lastUpdatedStamp
	 */
	public Timestamp getLastUpdatedStamp() {
		return lastUpdatedStamp;
	}
	/**
	 * @param lastUpdatedStamp the lastUpdatedStamp to set
	 */
	public void setLastUpdatedStamp(Timestamp lastUpdatedStamp) {
		this.lastUpdatedStamp = lastUpdatedStamp;
	}
	/**
	 * @return the questionnairesAppendixs
	 */
	public Set<QuestionnairesAppendix> getQuestionnairesAppendixs() {
		return questionnairesAppendixs;
	}
	/**
	 * @param questionnairesAppendixs the questionnairesAppendixs to set
	 */
	public void setQuestionnairesAppendixs(Set<QuestionnairesAppendix> questionnairesAppendixs) {
		this.questionnairesAppendixs = questionnairesAppendixs;
	}
	/**
	 * @return the organizer
	 */
	public Organization getOrganizer() {
		return organizer;
	}
	/**
	 * @param organizer the organizer to set
	 */
	public void setOrganizer(Organization organizer) {
		this.organizer = organizer;
	}
	/**
	 * @return the partyClassifications
	 */
	public Set<PartyClassification> getPartyClassifications() {
		return partyClassifications;
	}
	/**
	 * @param partyClassifications the partyClassifications to set
	 */
	public void setPartyClassifications(Set<PartyClassification> partyClassifications) {
		this.partyClassifications = partyClassifications;
	}
	
	
	
}
